#!/usr/bin/env bash

set -e

echo "1000000 / (1000000 * ($3 - 1) / $1 + 2 * 1000000 / $1 + 1000000 * 256 / ($2 * 1024 * 1024))" | bc -l
